#pragma once
#include <d3d9.h>
#include <d3dx9.h>

#pragma comment ( lib, "d3d9.lib" )
#pragma comment ( lib, "d3dx9.lib" )

class CMyD3DSystem
{
public:
	CMyD3DSystem(void);
	~CMyD3DSystem(void);
	HRESULT InitD3D(HWND hWnd);
	void ClearUp();
	LPDIRECT3D9 GetD3DSys();
	LPDIRECT3DDEVICE9 GetD3DDevice();
private:
	LPDIRECT3D9 m_pD3D;
	LPDIRECT3DDEVICE9 m_pD3DDevice;
	
};
